package com.khalil.kkadmin.module.job.test;

import org.quartz.Job;
import org.quartz.JobDataMap;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

public class SimpleHelloJob implements Job {
    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        System.out.println("HelloJob.execute...");
        JobDataMap jobDataMap = jobExecutionContext.getMergedJobDataMap();
        for (String key : jobDataMap.keySet()) {
            System.out.println("key=" + key + ",value=" + jobDataMap.get(key));
        }
    }
}
